package com.lmm.lcbusiness.lcbusiness.pages;

import com.lmm.lcbusiness.lcbusiness.ReturnInfo;

import java.util.Map;

import io.reactivex.Observable;
import retrofit2.http.POST;
import retrofit2.http.QueryMap;

/**
 * @author xmgong
 * @date 2017/11/30
 * 通用Action
 */

public interface CommonAction {

    /**
     * 获取token
     *
     * @return
     */
    @POST("/qiniu/token")
    Observable<ReturnInfo> getToken(@QueryMap Map<String, String> params);

    @POST("/md5")
    Observable<ReturnInfo> bind(@QueryMap Map<String, String> params);

}
